(Ambiya') 21 : 77
وَنَصَرْنَاهُ مِنَ الْقَوْمِ الَّذِينَ كَذَّبُوا بِآيَاتِنَا ۚ إِنَّهُمْ كَانُوا قَوْمَ سَوْءٍ فَأَغْرَقْنَاهُمْ أَجْمَعِينَ

And We saved him from the people who rejected Our verses. Indeed, they were evil people, so We drowned them all together.

See explanation 2: 39; 10: 103 and 11: 62.